home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2199 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!longbarn.demon.co.uk
  2. From: Peter Jones <pete@longbarn.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Writing Assembly with C in Windows 95?
  5. Date: Thu, 18 Jan 1996 20:30:22 GMT
  6. Organization: None
  7. Message-ID: <270644921wnr@longbarn.demon.co.uk>
  8. References: <DLCp4x.JoA@draco.nova.edu>
  9. Reply-To: pete@longbarn.demon.co.uk
  10. X-NNTP-Posting-Host: longbarn.demon.co.uk
  11. X-Broken-Date: Thursday, Jan 18, 1996 20.30.22
  12. X-Newsreader: Newswin Alpha 0.7
  13. X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!longbarn.demon.co.uk
  14.  
  15.  
  16. You can call all Windows API functions from ASM just by PUSHing all the arguments before CALLing the function. Try compiling 
  17. the program using an option to provide an assmebler output listing and having a look at it. It won't make your programs much 
  18. faster because the code I've seen when I did this with Borland C++ was a small as possible. If you want to make your program 
  19. fast and just for Win95, try using high performance bitmaps, known as DIBs, for the graphics.
  20.  
  21.  
  22. /-------------------------------------------------------------------------\
  23. | Peter Jones           pete@longbarn.demon.co.uk                         |
  24. \-------------------------------------------------------------------------/
  25.  
  26.